package com.atguigu.tingshu.common.login;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @date: 2025/8/13 9:11
 * @author: yz
 * @version: 1.0
 */


@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface GuiGuLogin {


    /**
     * 是否必须登录，默认为：必须登录
     * 默认：认证拦截
     * true:认证拦截
     * false:认证不拦截
     * @return
     */
    boolean required() default true;

}
